<template>
  <el-row>
    <el-col :span="24" class="mt5">
      <el-descriptions :column="3">
        <el-descriptions-item>
          <template #label>
            <descriptions-item-label label="分销员编码" />
          </template>
          {{ data.userNo }}
        </el-descriptions-item>
        <el-descriptions-item>
          <template #label>
            <descriptions-item-label label="分销员昵称" />
          </template>
          {{ data.nickname }}
        </el-descriptions-item>
        <el-descriptions-item>
          <template #label>
            <descriptions-item-label label="用户ID" />
          </template>
          {{ data.id }}
        </el-descriptions-item>
        <el-descriptions-item>
          <template #label>
            <descriptions-item-label label="手机号" />
          </template>
          {{ data.mobile }}
        </el-descriptions-item>
        <el-descriptions-item>
          <template #label>
            <descriptions-item-label label="团队人数" />
          </template>
          {{ data.team }}
        </el-descriptions-item>
        <el-descriptions-item>
          <template #label>
            <descriptions-item-label label="累计业绩(元)" />
          </template>
          {{ data.performance }}
        </el-descriptions-item>
      </el-descriptions>
    </el-col>
  </el-row>
</template>
<script setup lang="ts">
import {DescriptionsItemLabel} from '@/components/Descriptions/index'
import * as DistributionApi from '@/api/blind/distributionList'

const { data } = defineProps<{ data: DistributionApi.DistributionVO }>()
</script>
<style scoped lang="scss">
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
</style>
